package com.group.three.service;

import com.group.three.pojo.Videos;
import com.group.three.pojo.dto.AddNewVideoDto;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface VideosService {

    List<Videos> selectVideosAll();

    int deleteVideoId(Long videoId);

    List<Videos> searchByInput(String input);

    List<Videos> selectAll(int page, int size);


    boolean addNewVideo(AddNewVideoDto addNewVideoDto);
}
